/*
 * Copyright (c) 2025 EasyAdmin
 * All rights reserved.
 *
 * This file is part of the [EasAdmin] project.
 * Unauthorized copying of this file, via any medium, is strictly prohibited.
 * Proprietary and confidential.
 *
 * Author: EasyAdmin ( 1073602@qq.com )
 * Website: https://www.xhxiao.com
 */
package com.easy.module.system.service;

import com.easy.framework.database.service.IService;
import com.easy.module.system.entity.SysTemplate;
import com.easy.module.system.query.SysTemplateQuery;

import java.util.Map;

/**
 * 模板信息 Service接口
 *
 * @author EasyAdmin ( 1073602@qq.com )
 * @date 2025-08-17 16:37:54
 */
public interface ISysTemplateService extends IService<SysTemplate, SysTemplateQuery> {

    String generateTemplate(String content, Map<String,Object> variables);

    String generateTemplate(Long templateId, Map<String,Object> variables);

    SysTemplate getByTemplateCode(String templateCode);
}
